#include "systemautofocusform.h"
#include "ui_systemautofocusform.h"
#include <QPainter>
#include <QStyleOption>


SystemAutofocusForm::SystemAutofocusForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::SystemAutofocusForm)
{
    ui->setupUi(this);
}

SystemAutofocusForm::~SystemAutofocusForm()
{
    delete ui;
}

void SystemAutofocusForm::paintEvent(QPaintEvent *event)
{
    QStyleOption opt;
    opt.init(this);
    QPainter painter(this);
    style()->drawPrimitive(QStyle::PE_Widget,&opt,&painter,this);
    QWidget::paintEvent(event);
}
